package com.million.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author: studyboy
 * @Date: 2022/3/29  15:19
 */
public interface VodService {

    //上传视频
    String uploadVideo (MultipartFile file);

    //根据视频id 删除视频
    void deleteVod (String id);

    //根据课程id 删除该课程下的所有视频，用List  来封装，方便删除
    void removeAllVod (List<String> videoList);
}
